import { handleRepeatRequest } from './repeatRequest'
import { normalRequest } from './normalRequest'
import type { IInternalAxiosRequestConfig } from '@/utils/http/type'

export const requestInterceptors = async (config: IInternalAxiosRequestConfig) => {
  //处理重复请求
  await handleRepeatRequest(config)
  normalRequest(config)
  return config
}
